using System;
using System.Collections.Generic;
using System.Text;
namespace Decision.BusinessLayer
{
    [Serializable]
	public class DCS_MASTER_MEMBER
	{

		#region InnerClass
		public enum DCS_MASTER_MEMBERFields
		{
			MASTER_MEMBER_ID,
			MASTER_ID,
			MEMBER_TYPE_ID
		}
		#endregion

		#region Data Members

			int _mASTER_MEMBER_ID;
			int? _mASTER_ID;
			int? _mEMBER_TYPE_ID;

		#endregion

		#region Properties

		public int  MASTER_MEMBER_ID
		{
			 get { return _mASTER_MEMBER_ID; }
			 set
			 {
				 if (_mASTER_MEMBER_ID != value)
				 {
					_mASTER_MEMBER_ID = value;
					 PropertyHasChanged("MASTER_MEMBER_ID");
				 }
			 }
		}

		public int?  MASTER_ID
		{
			 get { return _mASTER_ID; }
			 set
			 {
				 if (_mASTER_ID != value)
				 {
					_mASTER_ID = value;
					 PropertyHasChanged("MASTER_ID");
				 }
			 }
		}

		public int?  MEMBER_TYPE_ID
		{
			 get { return _mEMBER_TYPE_ID; }
			 set
			 {
				 if (_mEMBER_TYPE_ID != value)
				 {
					_mEMBER_TYPE_ID = value;
					 PropertyHasChanged("MEMBER_TYPE_ID");
				 }
			 }
		}


		#endregion

		#region not support PropertyChangeEvent

		protected virtual void PropertyHasChanged(string propertyName)
		{
			return;
		}

		#endregion
/********** not support Validation
		#region Validation

		internal override void AddValidationRules()
		{
			ValidationRules.AddRules(new Validation.ValidateRuleNotNull("MASTER_MEMBER_ID", "MASTER_MEMBER_ID"));
		}

		#endregion
********/

	}
}
